@import '~src/styles/main';

.scroll-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
	opacity: 0;
    transition: all .2s ease-in-out;
}

.show-scroll {
    opacity: 1;
    transition: all .2s ease-in-out;
}

.outer-wrapper {
	min-height: 94vh;
	.feed-wrapper {
		padding-top: 30px;
		flex-direction: row;
		.wrapper {
			margin-left: 150px;
			float: none;

			@media(min-width: 1179px ) {
				float: left;
			}
		}

		feed-pagination {
			margin-top: 10px;
		}

		@media(min-width: 1000px) {
			.feed-results {
				width: 632px;
			}
		}

		.feed-info-box {
			@media(min-width: 1180px) {
				width: calc(100% - 812px);
				max-width: 454px;
				margin-left: 30px;
			}
		}

		@media(max-width: 1000px) {
			.wrapper{
				margin: 0 auto;
			}
		}
	}
}

@media all and (max-width:1000px){
	.feed-wrapper{
		flex-direction: row-reverse;
		-webkit-flex-flow: column wrap;
		flex-flow: column wrap;
	}
}

.searching {
	border-radius: 50%;
	margin: 10% auto;
	width: 100px;
	height: 100px;
	border: 5px solid var(--accent-color, $accent-color);
	border-top-color: rgba(216,97,96,0.2);
	animation: spin 1s infinite linear;
	margin-bottom: 20px;
}

.searching-message {
	word-break: break-word;
	font-size: 1.5em;
	text-align: center;
	padding: 10px;
	margin: 0 23%;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

button {
	display: block;
	margin: 32px auto;
	font-size: 1.1em;
	padding: 5px;
	font-weight: 700;
	background: transparent;
	border: none;
	cursor: pointer;
	height: 40px;
    width: 40px;
	font-size: 30px;
	color: white;
    background-color: #d23e42;
    border-radius: 76px;
	&:focus {
		border: none;
		outline: none;
	}
}
